<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>交易通知</title>
</head>
<body style="margin: 0; padding: 0; background-color: #f4f4f4;">
<div style="max-width: 600px; margin: 0 auto; padding: 20px; background-color: #ffffff; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1);">
    <h2 style="color: #333; margin-bottom: 20px;">战神二手校园交易平台交易通知</h2>
    <p style="color: #666; line-height: 1.6;">亲爱的卖家：</p>
    <p style="color: #666; line-height: 1.6;">您发布的商品<span th:text="${productName}">商品名称</span>已成功售出，买家信息如下：</p>
    <table style="width: 100%; border-collapse: collapse; margin: 20px 0;">
        <tr>
            <td style="padding: 8px; border: 1px solid #ddd; background-color: #f9f9f9;">买家姓名</td>
            <td style="padding: 8px; border: 1px solid #ddd;" th:text="${buyerName}">买家姓名</td>
        </tr>
        <tr>
            <td style="padding: 8px; border: 1px solid #ddd; background-color: #f9f9f9;">联系方式</td>
            <td style="padding: 8px; border: 1px solid #ddd;" th:text="${buyerContact}">联系方式</td>
        </tr>
        <tr>
            <td style="padding: 8px; border: 1px solid #ddd; background-color: #f9f9f9;">交易金额</td>
            <td style="padding: 8px; border: 1px solid #ddd;" th:text="${transactionAmount}">交易金额</td>
        </tr>
    </table>
    <p style="color: #666; line-height: 1.6;">请与买家尽快联系，安排商品交付事宜。</p>
    <p style="color: #666; line-height: 1.6;">如果您有任何疑问，请联系我们的客服。</p>
    <div style="margin-top: 30px; padding-top: 20px; border-top: 1px solid #eee; color: #999; font-size: 12px;">
        <p>此邮件由系统自动发送，请勿直接回复。</p>
        <p>© 2025 战神二手校园交易平台. All rights reserved.</p>
    </div>
</div>
</body>
</html>
